package com.weishenai.Service.impl;

import com.weishenai.Entity.User;
import com.weishenai.Entity.UserInfo;
import com.weishenai.Service.UserService;
import com.weishenai.dao.UserDao;
import com.weishenai.dao.impl.UserDaoImpl;

/**
 * @Auther: weishenai
 * @Date: 2021/10/04/21:11
 * @Description:
 */
public class UserServiceImpl implements UserService {
    private UserDao userDao;

    public UserServiceImpl() {
        userDao = new UserDaoImpl();
    }

    @Override
    public User login(String username) {
        return userDao.getLoginUser(username);
    }

}
